import { commonloadpage } from "../src/commonloadpage";
import { StateType } from "../src/StateType";
import { terminateworker } from "./rendermathpre";

export async function loadpagedata(states: StateType) {
    for (let url of states.menulist) {
        await commonloadpage(states, url);
    }
    // console.log(states);
    await terminateworker();
}
